<template>
    <div class="container">
        <global-header :user='currentUser'></global-header>
        <router-view></router-view>
        <Footer></Footer>
        <!-- <login></login> -->
    </div>
</template>

<script lang="ts">
import { computed, defineComponent } from 'vue'
import 'bootstrap/dist/css/bootstrap.min.css'
import GlobalHeader, { UserProps } from './components/GlobalHeader.vue'
import Footer from './components/Footer.vue'
import { useStore } from 'vuex'
export default defineComponent({
  name: 'App',
  components: {
    GlobalHeader,
    // Home,
    Footer

  },
  setup () {
    const store = useStore()
    const currentUser = computed(() => store.state.user)
    return {
    //   list: testData,
      currentUser

    }
  }

})
</script>

<style>
#app {
    /* font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px; */
}
</style>
